package com.shop.loan.mapper;

import com.shop.loan.model.entity.LoanOrderSignLogByMybatis;
import org.apache.ibatis.annotations.Param;

public interface LoanOrderSignLogByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoanOrderSignLogByMybatis row);

    int insertSelective(LoanOrderSignLogByMybatis row);

    LoanOrderSignLogByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanOrderSignLogByMybatis row);

    int updateByPrimaryKey(LoanOrderSignLogByMybatis row);

    LoanOrderSignLogByMybatis selectByContractNo(@Param("contractNo")String contractNo);

    LoanOrderSignLogByMybatis selectLastByOrderId(@Param("orderId")Long orderId);

    int deleteByOrderId(@Param("orderId")Long orderId);
}